package com.qf.service.impl;

import com.qf.entity.TbCategory;
import com.qf.mapper.TbCategoryMapper;
import com.qf.service.TbCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbCategoryServiceImpl implements TbCategoryService {

    @Autowired
    private TbCategoryMapper mapper;
    @Override
    public List<TbCategory> all() {
        return mapper.all();
    }
}
